package com.frank.oj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.frank.model.entity.training.TrainingRecord;
import com.frank.oj.model.vo.TrainingRecordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author frank
 * @Date 2024/4/8
 */
@Mapper
public interface TrainingRecordMapper extends BaseMapper<TrainingRecord> {
    List<TrainingRecordVO> getTrainingRecord(@Param("tid") Long tid);
}
